﻿using DotNet.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XNWebModel
{
    /// <summary>
    /// 系统数据字典
    /// </summary>
    [Table(Caption = "系统数据字典")]
    public class SystemDictionary
    {
        /// <summary>
        /// 复制对象
        /// </summary>
        public SystemDictionary Clone() =>
            ((SystemDictionary)base.MemberwiseClone());

        /// <summary>
        /// 编码
        /// </summary>
        [Column(Caption = "编码")]
        public string Code { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        [Column(Caption = "主键", Exported = false)]
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Column(Caption = "名称")]
        public string Name { get; set; }

        /// <summary>
        /// 简拼
        /// </summary>
        [Column(Caption = "简拼")]
        public string NameSpell { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column(Caption = "备注")]
        public string Note { get; set; }

        /// <summary>
        /// 父级主键
        /// </summary>
        [Column(Caption = "父级主键")]
        public int ParentId { get; set; }

        /// <summary>
        /// 排序路径
        /// </summary>
        [Column(Caption = "排序路径")]
        public string SortPath { get; set; }
    }




}
